package com.nebula.salary.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 节日福利编辑类
 *
 * @author codex
 * @since 2022-02-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "BenefitsEditVo对象", description = "节日福利编辑类")
public class BenefitsEditVo implements Serializable {
    private static final long serialVersionUID = -4662172499349681741L;
    
    @ApiModelProperty(value = "节日福利编号")
    private Long benefitsId;
    
    @ApiModelProperty(value = "福利金额")
    private BigDecimal benefitsSalary;
    
    @ApiModelProperty(value = "福利发放时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate issueDate;
    
    @ApiModelProperty(value = "备注")
    private String remark;
}
